package com.hiraeth.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "monitor.prometheus", ignoreUnknownFields = true)
public class MonitorConfiguration {

    /**
     * prometheus安装目录
     */
    private String prometheusHome = "/usr/local/monitor/prometheus";

    /**
     * prometheus配置文件位置
     */
    private String prometheusYml = "/usr/local/monitor/prometheus/prometheus.yml";
}
